package com.cee.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cee.auditlog.bean.NoAuditLog;

import java.util.Date;

@TableName("SYS_AUDIT_LOG")
public class AuditLog implements NoAuditLog {
    /**
     * 
     */
    @TableId(value = "SYS_AUDIT_LOG_KEY" ,type = IdType.AUTO)
    private Long sysAuditLogKey;

    /**
     * 
     */
    private String dbName;

    /**
     * 
     */
    private String tableName;

    /**
     * 
     */
    private String rowId;

    /**
     * 
     */
    private String actionCode;

    /**
     *
     */
    private String oldValue;

    /**
     *
     */
    private String newValue;

    /**
     * 
     */
    private Date lastRecDelDate;

    /**
     * 
     */
    private Date lastRecTxnDate;

    /**
     * 
     */
    private String lastRecTxnTypeCode;

    /**
     * 
     */
    private String lastRecTxnUserId;

    /**
     * 
     * @return VIS_SYS_AUDIT_LOG_KEY
     */
    public Long getVisSysAuditLogKey() {
        return sysAuditLogKey;
    }

    /**
     * 
     * @param visSysAuditLogKey
     */
    public void setVisSysAuditLogKey(Long visSysAuditLogKey) {
        this.sysAuditLogKey = visSysAuditLogKey;
    }

    /**
     * 
     * @return DB_NAME
     */
    public String getDbName() {
        return dbName;
    }

    /**
     * 
     * @param dbName
     */
    public void setDbName(String dbName) {
        this.dbName = dbName == null ? null : dbName.trim();
    }

    /**
     * 
     * @return TABLE_NAME
     */
    public String getTableName() {
        return tableName;
    }

    /**
     * 
     * @param tableName
     */
    public void setTableName(String tableName) {
        this.tableName = tableName == null ? null : tableName.trim();
    }

    /**
     * 
     * @return ROW_ID
     */
    public String getRowId() {
        return rowId;
    }

    /**
     * 
     * @param rowId
     */
    public void setRowId(String rowId) {
        this.rowId = rowId == null ? null : rowId.trim();
    }

    /**
     * 
     * @return ACTION_CODE
     */
    public String getActionCode() {
        return actionCode;
    }

    /**
     * 
     * @param actionCode
     */
    public void setActionCode(String actionCode) {
        this.actionCode = actionCode == null ? null : actionCode.trim();
    }

    /**
     * 
     * @return LAST_REC_DEL_DATE
     */
    public Date getLastRecDelDate() {
        return lastRecDelDate;
    }

    /**
     * 
     * @param lastRecDelDate
     */
    public void setLastRecDelDate(Date lastRecDelDate) {
        this.lastRecDelDate = lastRecDelDate;
    }

    /**
     * 
     * @return LAST_REC_TXN_DATE
     */
    public Date getLastRecTxnDate() {
        return lastRecTxnDate;
    }

    /**
     * 
     * @param lastRecTxnDate
     */
    public void setLastRecTxnDate(Date lastRecTxnDate) {
        this.lastRecTxnDate = lastRecTxnDate;
    }

    /**
     * 
     * @return LAST_REC_TXN_TYPE_CODE
     */
    public String getLastRecTxnTypeCode() {
        return lastRecTxnTypeCode;
    }

    /**
     * 
     * @param lastRecTxnTypeCode
     */
    public void setLastRecTxnTypeCode(String lastRecTxnTypeCode) {
        this.lastRecTxnTypeCode = lastRecTxnTypeCode == null ? null : lastRecTxnTypeCode.trim();
    }

    /**
     * 
     * @return LAST_REC_TXN_USER_ID
     */
    public String getLastRecTxnUserId() {
        return lastRecTxnUserId;
    }

    /**
     * 
     * @param lastRecTxnUserId
     */
    public void setLastRecTxnUserId(String lastRecTxnUserId) {
        this.lastRecTxnUserId = lastRecTxnUserId == null ? null : lastRecTxnUserId.trim();
    }

    public String getOldValue() {
        return oldValue;
    }

    public void setOldValue(String oldValue) {
        this.oldValue = oldValue;
    }

    public String getNewValue() {
        return newValue;
    }

    public void setNewValue(String newValue) {
        this.newValue = newValue;
    }
}